package com.wzf.greattruth.jvm.classmodifier;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;

public class T {

    public static void main(String[] args) throws Exception {
        String file = "/Users/wuzhengfei/Documents/workspace/work/workspace/great-truth/target/classes/com/wzf/greattruth/jvm/call/Test.class";
        
        InputStream fis = new FileInputStream(new File(file)) ;
        
        byte[] bytes = new byte[fis.available()] ;
        fis.read(bytes);
        fis.close(); 
        String rs = JavaClassExecuter.execute(bytes);
        System.err.println(rs);
    }

}
